<!doctype html>
<html lang="zh-CN">
<head>
    <include file="include/head" title="预约-选择日期" />
</head>

<body>
	<div class="header-blank"></div>
    <div class="header">
		预约-选择日期
		<span class="left">
			<a href="{:U('Index/booking_step1_unit',array('id'=>$_GET['id']))}"><span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span></a>
		</span>
	</div>
	
	<div class="rank-main">
		<div class="uc-list">
			<ul>
				<volist name="bookingConfigList" id="vo">
				<li>
				<if condition="($vo['status'] eq 0) AND ($vo['already_num'] lt $vo['total_num'])">
					<a href="{:U('Index/booking_step3_human',array('id'=>$_GET['id'],'unit_id'=>$vo['unit_id'],'booking_config_id'=>$vo['id']))}">
						<span class="glyphicon glyphicon-calendar left" aria-hidden="true"></span>
						<span style="padding-left:10px;">{$vo.date}</span>
						<span style="padding-left:25px;padding-right:25px;">
							<font color="#00AFC7">
							{$vo.status|get_booking_config_status}
							</font>
						</span>
						<font color="red">{$vo.already_num}</font> 
						/ 
						<font color="green">{$vo.total_num}</font>
						<span class="glyphicon glyphicon-chevron-right right" aria-hidden="true"></span>
					</a>
				<else/>
					<a href="javascript:;">
						<span class="glyphicon glyphicon-calendar left" aria-hidden="true"></span>
						<span style="padding-left:10px;">{$vo.date}</span>
						<span style="padding-left:25px;padding-right:25px;">
							<font color="#FF8F00">
							<if condition="$vo['already_num'] eq $vo['total_num']">
							已满
							<else/>
							{$vo.status|get_booking_config_status}
							</if>
							</font>
						</span>
					</a>
				</if>
				</li>
				</volist>
			</ul>
		</div>
	</div>
	
	<include file="include/bottom" />

</body>
</html>